package com.kayt.cyberBar.statistics.service.impl;

import com.kayt.cyberBar.common.base.BaseDaoService;
import com.kayt.cyberBar.common.base.BaseService;
import com.kayt.cyberBar.statistics.dao.impl.StatisticsCyberSalesTypeDaoImpl;
import com.kayt.cyberBar.statistics.entity.po.BStatisticsCyberSalesType;
import com.kayt.cyberBar.statistics.entity.vo.StatisticsCyberSalesTypeVO;
import com.kayt.cyberBar.statistics.service.IStatisticsCyberSalesTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description
 *
 * @author Kevin
 * @since 12/29/2017 16:38
 */
@Service
public class StatisticsCyberSalesTypeServiceImpl extends BaseService<BStatisticsCyberSalesType,StatisticsCyberSalesTypeVO> implements IStatisticsCyberSalesTypeService {
    @Autowired
    private StatisticsCyberSalesTypeDaoImpl statisticsCyberSalesTypeDao;
    @Override
    public BaseDaoService<BStatisticsCyberSalesType> getDaoService() {
        return statisticsCyberSalesTypeDao;
    }

    @Override
    public long getID(StatisticsCyberSalesTypeVO vo) {
        return vo.getId();
    }

}
